package com.yanqu.road.entity.activity.youxing;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_c_xing_you_team_mark_data", desc = "行游山水-标记日志")
public class CrossXingYouTargetMarkData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;

    @FieldTypeAnnotation(update = true, desc = "分组id")
    private int groupId;

    @FieldTypeAnnotation(update = true, desc = "日志ID")
    private long id;

    @FieldTypeAnnotation(desc = "队伍ID")
    private int teamId;

    @FieldTypeAnnotation(desc = "标记者")
    private long userId;

    @FieldTypeAnnotation(desc = "标记位置")
    private int pos;

    @FieldTypeAnnotation(desc = "标记目标玩家")
    private long targetUserId;

    @FieldTypeAnnotation(desc = "标记目标当前血量")
    private long maxTargetHp;

    @FieldTypeAnnotation(desc = "标记目标当前血量")
    private long targetHp;

    @FieldTypeAnnotation(desc = "已协助过的队友")
    private List<Long> tzList;

    @FieldTypeAnnotation(desc = "标记时间")
    private long logTime;

    @FieldTypeAnnotation(desc = "过期时间")
    private long expireTime;

    @FieldTypeAnnotation(desc = "是否已领取")
    private int getReward;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        if(this.groupId != groupId) {
            this.groupId = groupId;
            setUpdateOption();
        }
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        if(this.id != id) {
            this.id = id;
            setUpdateOption();
        }
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        if(this.teamId != teamId) {
            this.teamId = teamId;
            setUpdateOption();
        }
    }
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId){
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        if(this.pos != pos) {
            this.pos = pos;
            setUpdateOption();
        }
    }

    public List<Long> getTzList() {
        return tzList;
    }

    public void setTzList(List<Long> tzList) {
        this.tzList = tzList;
        setUpdateOption();
    }

    public long getLogTime() {
        return logTime;
    }

    public void setLogTime(long logTime) {
        if(this.logTime != logTime) {
            this.logTime = logTime;
            setUpdateOption();
        }
    }

    public long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(long expireTime) {
        if(this.expireTime != expireTime) {
            this.expireTime = expireTime;
            setUpdateOption();
        }
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        if(this.targetUserId != targetUserId) {
            this.targetUserId = targetUserId;
            setUpdateOption();
        }
    }

    public long getTargetHp() {
        return targetHp;
    }

    public void setTargetHp(long targetHp) {
        if(this.targetHp != targetHp) {
            this.targetHp = targetHp;
            setUpdateOption();
        }
    }

    public long getMaxTargetHp() {
        return maxTargetHp;
    }

    public void setMaxTargetHp(long maxTargetHp) {
        if(this.maxTargetHp != maxTargetHp) {
            this.maxTargetHp = maxTargetHp;
            setUpdateOption();
        }
    }

    public int getGetReward() {
        return getReward;
    }

    public void setGetReward(int getReward) {
        if(this.getReward != getReward) {
            this.getReward = getReward;
            setUpdateOption();
        }
    }
}
